﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = EngineeringEquipment
		Group                          = EnergyInjectors
		Size                           = Medium
		Module                         = shoxit parter i medium energy injector
		CpuUsage                       = 23.00 TF
		ReactorUsage                   = 225.00 RP
		Type                           = Active
		Slot                           = Legs
		TechnologicalLevel             = T2
		Mass                           = 180.00 kg
		PackedVolume                   = 0.50 U
		Volume                         = 1.00 U
		CycleTime                      = 11.00 sec
		AmmoChargeType                 = Energy injector charges
		AmmoChargeCapacity             = 10 pcs
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// Shoxit Parter I. medium energy injector module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:55</remarks>
    public sealed class ShoxitParterIMediumEnergyInjector : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="ShoxitParterIMediumEnergyInjector"/> class.
        /// </summary>
        public ShoxitParterIMediumEnergyInjector()
            : base(
            "Shoxit Parter I. medium energy injector",
            "",
            ModuleMetaGroupsEnum.EngineeringEquipment,
            ModuleGroupsEnum.EnergyInjectors,
            TechnologyLevelsEnum.Level2,
            SizesEnum.Medium,
            new LazyFeature[] { 
				new LazyFeature(typeof(EngineeringCpuUsage<double>),23.00),
				new LazyFeature(typeof(ReactorUsage<double>),225.00),
				new LazyFeature(typeof(ModuleMass<double>),180.00),
                new LazyFeature(typeof(InjectedAccumulatorAmount<double>),0),
				new LazyFeature(typeof(EnergyInjectorCycleTime<double>),11.00),
				new LazyFeature(typeof(AmmunitionType<AmmunitionTypesEnum>),AmmunitionTypesEnum.EnergyInjectorCharges),
				new LazyFeature(typeof(AmmoCapacity<double>),10), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 180.00 ){ IsVisible = false }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Active; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Legs; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Modules; }
        }
    }
}